<?php
/*
+---------------------------------------------------------------+
|        e107bb 2.0.3
|        DIPOrg (suporte@diporg.com)
+---------------------------------------------------------------+
*/

require_once("../../../class2.php");
if(!getperms("P")){ header("location:".e_BASE."index.php"); exit; }
require_once(e_ADMIN.'auth.php');
     $getconf="SELECT * from ".$mySQLprefix."bbconf where conf_name='installed'";
      $getconf2=mysql_query($getconf) or die(mysql_error());
	$getconf3=mysql_fetch_array($getconf2);
if ($getconf3[conf_result]==0) 
{
$ns -> tablerender("e107bb", "<b>e107bb is NOT configured</b><br/>You need to configure this plugin, <a href='./install.php'>do it now!</a>");
}
else
{
//Created in e107bb 2.0.3
      $text = "<b><u>Status</u></b><br/>";
      $text .= "<b>e107bb version:</b> 2.0.3 for phpBB 2.0.x<br/>";
      $geturl="SELECT * from ".$mySQLprefix."bbconf where conf_name='url'";
      $geturl2=mysql_query($geturl) or die(mysql_error());
	$geturl3=mysql_fetch_array($geturl2);
      $text .= "<b>Forum Path/URL:</b> ".$geturl3[conf_result]."<br/>";
//$text .="";
      $text .="<br/><b><u>Tools</u></b><br/>";
      $text .="<a href='../import'>Importer</a> - Copy e107 Forums, Topics, Posts to your phpBB Board<br/>";
      $text .="";

$ns -> tablerender("e107bb", $text);
}
require_once(e_ADMIN."footer.php");

?>


